<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <input type="text" id="scorelist" /><button id="btn">提交</button>

    <script>
      var score = document.getElementById("scorelist");
      var butele = document.getElementById("btn");
      butele.onclick = function () {
        var myscore = score.value;
        if (myscore < 60) {
          document.write("hehe");
        } else if (myscore >= 60 && myscore < 90) {
          document.write("just soso");
        } else if (myscore >= 90) {
          document.write("good");
        }
      };
    </script>
  </body>
</html>
